package com.kalix.mooc.reply.entities;

import com.kalix.framework.core.api.persistence.PersistentEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 功能描述:
 *
 * @Description: 讨论实体类
 * @Author: yyp
 * @CreateDate: 2019/5/20$ 10:14$
 * @Version:
 */
@Entity
@Table(name = "mooc_discuss")
public class DiscussBean extends PersistentEntity {
    private Long userId; // 用户ID
    private String userName; // 用户姓名
    private String discussTitle; // 讨论主题
    @Column(name = "discussEnclosure",columnDefinition = "text")
    private String discussEnclosure; // 讨论内容
    private Long thumbsupCounts; // 点赞数
    private Long cid; // 关联课程id
    private String cname; // 关联课程名称
    private String DateTime; // 获取系统时间

    public String getDateTime() {
        return DateTime;
    }

    public void setDateTime(String dateTime) {
        DateTime = dateTime;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDiscussTitle() {
        return discussTitle;
    }

    public void setDiscussTitle(String discussTitle) {
        this.discussTitle = discussTitle;
    }

    public String getDiscussEnclosure() {
        return discussEnclosure;
    }

    public void setDiscussEnclosure(String discussEnclosure) {
        this.discussEnclosure = discussEnclosure;
    }

    public Long getThumbsupCounts() {
        return thumbsupCounts;
    }

    public void setThumbsupCounts(Long thumbsupCounts) {
        this.thumbsupCounts = thumbsupCounts;
    }
}
